#ifndef GRID_H
#define GRID_H

extern int* indexGrid;
extern int* countGrid;
extern float voxelSize;
extern float gridMinimumPosition;
extern int gridLength;
extern int particlesPerVoxel;

void createGrid();
void updateGrid();
bool isValidIndex(int* gridIndex);
int* getNeighborParticleIndices(int* gridIndex);

#endif
